﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LH.Model.APAR
{
    public class AP_CloseBill
    {
        public AP_CloseBill(Head head, List<Body> bodies)
        {
            this.head = head;
            this.bodies = bodies;
        }

        public Head head;
        public List<Body> bodies;

        public class Head
        {
            public string editprop { get; set; }
            public string iID { get; set; }
            public string cVouchType { get; set; }
            public string cVouchID { get; set; }
            public string dVouchDate { get; set; }
            public string cDwCode { get; set; }
            public string cSSCode { get; set; }
            public string cDeptCode { get; set; }
            public string cNoteNo { get; set; }
            public string cBankAccount { get; set; }
            public string cSSName { get; set; }
            public string iPeriod { get; set; }
            public string cAuthID { get; set; }
            public string cPerson { get; set; }
            public string cPersonName { get; set; }
            public string cItem_Class { get; set; }
            public string cItemCode { get; set; }
            public string cItemName { get; set; }
            public string cDigest { get; set; }
            public string cexch_name { get; set; }
            public string iExchRate { get; set; }
            public string iAmount_f { get; set; }
            public string iAmount { get; set; }
            public string iNotRateAmount_f { get; set; }
            public string iNotRateAmount { get; set; }
            public string iRAmount_f { get; set; }
            public string iRAmount { get; set; }
            public string iAmount_s { get; set; }
            public string cTypeName { get; set; }
            public string cVenAbbName { get; set; }
            public string cVenName { get; set; }
            public string cDepName { get; set; }
            public string cFlag { get; set; }
            public string cCheckMan { get; set; }
            public string cOperator { get; set; }
            public string cCancelMan { get; set; }
            public string iPayForOther { get; set; }
            public string cBank { get; set; }
            public string cNatBank { get; set; }
            public string cNatBankAccount { get; set; }
            public string bFromBank { get; set; }
            public string bToBank { get; set; }
            public string bSure { get; set; }
            public string cCode { get; set; }
            public string cCancelNo { get; set; }
            public string bStartFlag { get; set; }
            public string cCoVouchType { get; set; }
            public string cCoVouchID { get; set; }
            public string cCreditCode { get; set; }
            public string cPzID { get; set; }
            public string cPZNum { get; set; }
            public string doutbilldate { get; set; }
            public string VT_ID { get; set; }
            public string Ufts { get; set; }
            public string iSource { get; set; }
            public string cSource { get; set; }
            public string cOrderNo { get; set; }
            public string cContractType { get; set; }
            public string cContractID { get; set; }
            public string cContractName { get; set; }
            public string cContractTypeName { get; set; }
            public string cDefine1 { get; set; }
            public string cDefine2 { get; set; }
            public string cDefine3 { get; set; }
            public string cDefine4 { get; set; }
            public string cDefine5 { get; set; }
            public string cDefine6 { get; set; }
            public string cDefine7 { get; set; }
            public string cDefine8 { get; set; }
            public string cDefine9 { get; set; }
            public string cDefine10 { get; set; }
            public string cDefine11 { get; set; }
            public string cDefine12 { get; set; }
            public string cDefine13 { get; set; }
            public string cDefine14 { get; set; }
            public string cDefine15 { get; set; }
            public string cDefine16 { get; set; }
            public string dcreatesystime { get; set; }
            public string dverifysystime { get; set; }
            public string dmodifysystime { get; set; }
            public string cmodifier { get; set; }
            public string dmoddate { get; set; }
            public string dverifydate { get; set; }
            public string cApplyCode { get; set; }
            public string cbg_itemcode { get; set; }
            public string cbg_itemname { get; set; }
            public string cbg_caliberkey1 { get; set; }
            public string cbg_caliberkeyname1 { get; set; }
            public string cbg_caliberkey2 { get; set; }
            public string cbg_caliberkeyname2 { get; set; }
            public string cbg_caliberkey3 { get; set; }
            public string cbg_caliberkeyname3 { get; set; }
            public string cbg_calibercode1 { get; set; }
            public string cbg_calibername1 { get; set; }
            public string cbg_calibercode2 { get; set; }
            public string cbg_calibername2 { get; set; }
            public string cbg_calibercode3 { get; set; }
            public string cbg_calibername3 { get; set; }
            public string cbg_caliberkey4 { get; set; }
            public string cbg_caliberkeyname4 { get; set; }
            public string cbg_caliberkey5 { get; set; }
            public string cbg_caliberkeyname5 { get; set; }
            public string cbg_caliberkey6 { get; set; }
            public string cbg_caliberkeyname6 { get; set; }
            public string cbg_calibercode4 { get; set; }
            public string cbg_calibername4 { get; set; }
            public string cbg_calibercode5 { get; set; }
            public string cbg_calibername5 { get; set; }
            public string cbg_calibercode6 { get; set; }
            public string cbg_calibername6 { get; set; }
            public string IsWfControlled { get; set; }
            public string iverifystate { get; set; }
            public string iBusType { get; set; }
            public string cBusType { get; set; }
            public string iPayType { get; set; }
            public string cPayType { get; set; }
            public string cagentcuscode { get; set; }
            public string cagentcusname { get; set; }
            public string cagentcusabbname { get; set; }
            public string csysbarcode { get; set; }

        }

        public class Body
        {
            public string editprop { get; set; }
            public string iID { get; set; }
            public string ID { get; set; }
            public string bPrePay { get; set; }
            public string iType { get; set; }
            public string cType { get; set; }
            public string cCoVouchID { get; set; }
            public string cVenAbbName { get; set; }
            public string iAmt_f { get; set; }
            public string iAmt { get; set; }
            public string cKm { get; set; }
            public string cDepName { get; set; }
            public string cPersonName { get; set; }
            public string iRAmt_f { get; set; }
            public string iRAmt { get; set; }
            public string cCusVen { get; set; }
            public string iAmt_s { get; set; }
            public string iRAmt_s { get; set; }
            public string cDepCode { get; set; }
            public string cPersonCode { get; set; }
            public string cXmClass { get; set; }
            public string cXm { get; set; }
            public string cItemName { get; set; }
            public string cOrderID { get; set; }
            public string cConType { get; set; }
            public string cConID { get; set; }
            public string cContractName { get; set; }
            public string cContractTypeName { get; set; }
            public string cExecID { get; set; }
            public string iOrderType { get; set; }
            public string cOrderType { get; set; }
            public string cStageCode { get; set; }
            public string cStageName { get; set; }
            public string cDefine22 { get; set; }
            public string cDefine23 { get; set; }
            public string cDefine24 { get; set; }
            public string cDefine25 { get; set; }
            public string cDefine26 { get; set; }
            public string cDefine27 { get; set; }
            public string cDefine28 { get; set; }
            public string cDefine29 { get; set; }
            public string cDefine30 { get; set; }
            public string cDefine31 { get; set; }
            public string cDefine32 { get; set; }
            public string cDefine33 { get; set; }
            public string cDefine34 { get; set; }
            public string cDefine35 { get; set; }
            public string cDefine36 { get; set; }
            public string cDefine37 { get; set; }
            public string cMemo { get; set; }
            public string ccItemCode { get; set; }
            public string cExpName { get; set; }
            public string ifaresettled_f { get; set; }

        }
    }
}
